#!/bin/sh
# Copyright (c) 2018 Presto Labs Pte. Ltd.
# Author: whpark

set -e
array_job_cmd_file=$(sed "${SLURM_ARRAY_TASK_ID}q;d" $CMD_FILE)
cmd=$(cat $array_job_cmd_file)
eval "$cmd"
